Integrand size = 23, antiderivative size = 57 \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{a^{3/2} f}+\frac {1}{a f \sqrt {a+b \sin ^2(e+f x)}} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3273, 53, 65, 214} \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {1}{a f \sqrt {a+b \sin ^2(e+f x)}}-\frac {\text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{a^{3/2} f} \]
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 3273
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{x (a+b x)^{3/2}} \, dx,x,\sin ^2(e+f x)\right )}{2 f} \\ & = \frac {1}{a f \sqrt {a+b \sin ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\sin ^2(e+f x)\right )}{2 a f} \\ & = \frac {1}{a f \sqrt {a+b \sin ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sin ^2(e+f x)}\right )}{a b f} \\ & = -\frac {\text {arctanh}\left (\frac {\sqrt {a+b \sin ^2(e+f x)}}{\sqrt {a}}\right )}{a^{3/2} f}+\frac {1}{a f \sqrt {a+b \sin ^2(e+f x)}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.06 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.81 \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {\operatorname {Hypergeometric2F1}\left (-\frac {1}{2},1,\frac {1}{2},1+\frac {b \sin ^2(e+f x)}{a}\right )}{a f \sqrt {a+b \sin ^2(e+f x)}} \]
[In]
[Out]
Time = 0.88 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.09
method | result | size |
default | \(\frac {\frac {1}{a \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}-\frac {\ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}}{\sin \left (f x +e \right )}\right )}{a^{\frac {3}{2}}}}{f}\) | \(62\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 99 vs. \(2 (49) = 98\).
Time = 0.38 (sec) , antiderivative size = 225, normalized size of antiderivative = 3.95 \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\left [\frac {{\left (b \cos \left (f x + e\right )^{2} - a - b\right )} \sqrt {a} \log \left (\frac {2 \, {\left (b \cos \left (f x + e\right )^{2} + 2 \, \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {a} - 2 \, a - b\right )}}{\cos \left (f x + e\right )^{2} - 1}\right ) - 2 \, \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} a}{2 \, {\left (a^{2} b f \cos \left (f x + e\right )^{2} - {\left (a^{3} + a^{2} b\right )} f\right )}}, \frac {{\left (b \cos \left (f x + e\right )^{2} - a - b\right )} \sqrt {-a} \arctan \left (\frac {\sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \sqrt {-a}}{a}\right ) - \sqrt {-b \cos \left (f x + e\right )^{2} + a + b} a}{a^{2} b f \cos \left (f x + e\right )^{2} - {\left (a^{3} + a^{2} b\right )} f}\right ] \]
[In]
[Out]
\[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {\cot {\left (e + f x \right )}}{\left (a + b \sin ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.81 \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\frac {\operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | \sin \left (f x + e\right ) \right |}}\right )}{a^{\frac {3}{2}}} - \frac {1}{\sqrt {b \sin \left (f x + e\right )^{2} + a} a}}{f} \]
[In]
[Out]
\[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\int { \frac {\cot \left (f x + e\right )}{{\left (b \sin \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\cot (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {\mathrm {cot}\left (e+f\,x\right )}{{\left (b\,{\sin \left (e+f\,x\right )}^2+a\right )}^{3/2}} \,d x \]
[In]
[Out]